package com.lingyu.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lingyu.dao.CommentMapper;
import com.lingyu.pojo.Comment;

@Service
public class CommentBiz implements ICommentBiz{
	@Autowired
	private CommentMapper commentMapper;

	@Override
	public boolean addComment(Comment comment) {
		return commentMapper.insert(comment)>0;
	}

}
